package com.ruoyi.system.entity;

import cn.hutool.core.util.StrUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * (SysDangerPoint)实体类
 *
 * @author makejava
 * @since 2022-11-22 09:58:46
 */
public class SysDangerPoint implements Serializable {
    private static final long serialVersionUID = -70866835620078983L;

    private Integer id;
    /**
     * 单元名称
     */
    @Excel(name = "单元名称")
    private String unitName;
    /**
     * 单元ID
     */
    private Integer unitId;
    /**
     * 部门ID
     */
    private Integer deptId;
    /**
     * 部门名称
     */
    @Excel(name = "部门名称")
    private String deptName;
    /**
     * 应急处置方案ID
     */
    private Integer planId;
    /**
     * 处置方案名称
     */
    @Excel(name = "处置方案名称")
    private String planName;
    /**
     * 监控点位编码
     */
    @Excel(name = "监控点位编码")
    private String monitorPointCode;
    /**
     * 危险源等级
     */
    @Excel(name = "危险源等级")
    private String dangerLevel;
    /**
     * 设计压力
     */
    @Excel(name = "设计压力")
    private String designPressure;
    /**
     * 位号
     */
    @Excel(name = "位号")
    private String bitNumber;
    /**
     * 实时数据库位号
     */
    @Excel(name = "实时数据库位号")
    private String databaseBitNumber;
    /**
     * 测点描述
     */
    @Excel(name = "测点描述")
    private String pointInfo;
    /**
     * 参数
     */
    @Excel(name = "参数")
    private String param;
    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;
    /**
     * 危险源名称
     */
    @Excel(name = "危险源名称")
    private String dangerName;
    /**
     * 量程
     */
    @Excel(name = "量程")
    private String dangerRange;
    /**
     * 低低低报
     */
    @Excel(name = "低低低报")
    private String lowAndLow;
    /**
     * 低低报
     */
    @Excel(name = "低低报")
    private String playItLow;
    /**
     * 低报
     */
    @Excel(name = "低报")
    private String lowQuota;
    /**
     * 高报
     */
    @Excel(name = "高报")
    private String highQuota;
    /**
     * 高高报
     */
    @Excel(name = "高高报")
    private String highAndMighty;
    /**
     * 地图X坐标
     */
    @Excel(name = "地图X坐标")
    private String coordinatesX;
    /**
     * 地图Y坐标
     */
    @Excel(name = "地图Y坐标")
    private String coordinatesY;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    /**
     * 装置名称
     */
    @Excel(name = "装置名称")
    private String deviceName;
    /**
     * 实时数据库值
     */
    private String av;

    private String enable;

    private String enableInfo;

    public String getEnableInfo() {
        return enableInfo;
    }

    public void setEnableInfo(String enableInfo) {
        this.enableInfo = enableInfo;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getAv() {
        if (StrUtil.isEmpty(av)) {
            this.av = "0";
        }
        return av;
    }

    public void setAv(String av) {
        this.av = av;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    public String getMonitorPointCode() {
        return monitorPointCode;
    }

    public void setMonitorPointCode(String monitorPointCode) {
        this.monitorPointCode = monitorPointCode;
    }

    public String getDangerLevel() {
        return dangerLevel;
    }

    public void setDangerLevel(String dangerLevel) {
        this.dangerLevel = dangerLevel;
    }

    public String getDesignPressure() {
        return designPressure;
    }

    public void setDesignPressure(String designPressure) {
        this.designPressure = designPressure;
    }

    public String getBitNumber() {
        return bitNumber;
    }

    public void setBitNumber(String bitNumber) {
        this.bitNumber = bitNumber;
    }

    public String getDatabaseBitNumber() {
        return databaseBitNumber;
    }

    public void setDatabaseBitNumber(String databaseBitNumber) {
        this.databaseBitNumber = databaseBitNumber;
    }

    public String getPointInfo() {
        return pointInfo;
    }

    public void setPointInfo(String pointInfo) {
        this.pointInfo = pointInfo;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getDangerName() {
        return dangerName;
    }

    public void setDangerName(String dangerName) {
        this.dangerName = dangerName;
    }

    public String getDangerRange() {
        return dangerRange;
    }

    public void setDangerRange(String dangerRange) {
        this.dangerRange = dangerRange;
    }

    public String getLowAndLow() {
        return lowAndLow;
    }

    public void setLowAndLow(String lowAndLow) {
        this.lowAndLow = lowAndLow;
    }

    public String getPlayItLow() {
        return playItLow;
    }

    public void setPlayItLow(String playItLow) {
        this.playItLow = playItLow;
    }

    public String getLowQuota() {
        return lowQuota;
    }

    public void setLowQuota(String lowQuota) {
        this.lowQuota = lowQuota;
    }

    public String getHighQuota() {
        return highQuota;
    }

    public void setHighQuota(String highQuota) {
        this.highQuota = highQuota;
    }

    public String getHighAndMighty() {
        return highAndMighty;
    }

    public void setHighAndMighty(String highAndMighty) {
        this.highAndMighty = highAndMighty;
    }

    public String getCoordinatesX() {
        return coordinatesX;
    }

    public void setCoordinatesX(String coordinatesX) {
        this.coordinatesX = coordinatesX;
    }

    public String getCoordinatesY() {
        return coordinatesY;
    }

    public void setCoordinatesY(String coordinatesY) {
        this.coordinatesY = coordinatesY;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

}

